import json


class grade_sim:
    province_name = ""
    school_name = ""
    year = ""
    batch_name = ""
    type_name = ""
    require_json = ""
    require_str = ""
    min_grade = 0
    min_rank = 0
    num_student = 0
    columns = ["province_name", "school_name", "year", "batch_name", "type_name", "require_json", "require_str",
               "min_grade", "min_rank", "num_student"]

    def __init__(self, school_name=""):
        self.school_name = school_name

    def to_df(self):
        d = [self.province_name, self.school_name, self.year, self.batch_name, self.type_name, self.require_json,
             self.require_str, self.min_grade, self.min_rank, self.num_student]
        return d
